package com.ftn;

import java.awt.*;

/**
 * User: Jack Fu
 * Date: 2024/9/10
 * Time: 9:53
 * To change this template use File | Settings | File Templates.
 * Description: 补给
 */
public class GiftObj extends GameObj{

    @Override
    public void paintSelf(Graphics g) {
        setWidth(110);
        setHeight(77);
        setImage(GameUtils.shengjiImage);
        super.paintSelf(g);
    }

    @Override
    public Rectangle getRec() {
        return super.getRec();
    }

    public GiftObj() {
    }

    public GiftObj(int x, int y) {
        super(x, y);
    }

    public GiftObj(int x, int y, int width, int height, Image image, int speed, GameWin gameWin) {
        super(x, y, width, height, image, speed, gameWin);
    }

    public GiftObj(int x, int y, Image image, int speed) {
        super(x, y, image, speed);
    }
}
